/* slider of the hero section */
.slider {
  max-width: 1300px;
  width: 100%;
  height: 80vh;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.slider .list {
  position: absolute;
  width: 400%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  transition: 1s;
}

.slider .list .item {
  width: 25%;
  height: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.slider .list .item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(69, 0, 153, 0.137);
  z-index: 1;
  pointer-events: none;
}

.slider .list img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 0;
}

.carousel-collage {
  position: absolute;
  height: 50%;
  max-width: 50%;
  top: 5%;
  right: 28%;
  z-index: 2;
  border-radius: 16px;
  overflow: hidden;
  border: #f4eaff 1px solid;
  box-shadow: 2px 5px 5px rgba(69, 0, 153, 0.4);
}

.carousel-collage-2 {
  position: absolute;
  height: 320px;
  width: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: #f4eaff 5px solid;
  bottom: 20%;
  left: 25%;
  z-index: 2;
}

/* Media quaries to contain the collage properly */
@media screen and (max-width: 1100px) {
  .carousel-collage-2 {
    height: 280px;
    width: 280px;
  }
}

@media screen and (max-width: 1000px) {
  .carousel-collage-2 {
    height: 260px;
    width: 260px;
  }

  .carousel-collage {
    right: 24%;
  }
}

@media screen and (max-width: 900px) {
  .carousel-collage-2 {
    height: 240px;
    width: 240px;
    bottom: 25%;
  }

  .carousel-collage {
    right: 20%;
  }
}

@media screen and (max-width: 768px) {
  .carousel-collage-2 {
    height: 220px;
    width: 220px;
    left: 18%;
  }

  .carousel-collage {
    right: 16%;
  }
}

@media screen and (max-width: 550px) {
  .carousel-collage-2 {
    height: 200px;
    width: 200px;
    left: 15%;
  }

  .carousel-collage {
    right: 15%;
    height: 40%;
  }
}

@media screen and (max-width: 400px) {
  .carousel-collage-2 {
    height: 200px;
    width: 200px;
    left: 10%;
    bottom: 28%;
  }

  .carousel-collage {
    right: 10%;
    height: 40%;
  }
}

.carousel-collage-img {
  height: 100%;
  object-fit: contain;
  object-position: right;
  position: relative;
}

.carousel-collage-overlay {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(69, 0, 153, 0.08);
  z-index: 5;
}

.slide-texts {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: transparent;
  backdrop-filter: blur(10px);
  text-align: center;
  padding: 2rem;
  width: 80%;
  z-index: 2;
}

.slide-texts h2 {
  font-size: 4.778em;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 0rem;
  color: #F4EBFF;
  text-shadow: 2px 2px 2px #440099;
}

.slide-texts p {
  color: #F4EBFF;
  text-shadow: 1px 1px 1px #440099;
  font-size: 1.92em;
  font-weight: 400;
  letter-spacing: 1px;
}

.slider .buttons {
  position: absolute;
  top: 45%;
  left: 5%;
  width: 90%;
  display: flex;
  justify-content: space-between;
  z-index: 5;
}

.slider .buttons button {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #f4eaff;
  color: #440099;
  border: none;
  font-size: 1.6em;
  font-weight: 600;
  cursor: pointer;
}

.slider .dots {
  position: absolute;
  bottom: 5px;
  left: 0;
  color: #f4eaff;
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  z-index: 5;
}

.slider .dots li {
  list-style: none;
  width: 10px;
  height: 10px;
  background-color: #f4eaff;
  margin: 10px;
  border-radius: 20px;
  transition: 0.5s;
}

.slider .dots li.active {
  width: 30px;
}

@media screen and (max-width: 768px) {
  .slider {
    height: 400px;
  }


  .slide-texts {
    padding: 1rem;
    bottom: 15px;
  }

  .slide-texts h2 {
    font-size: 3.981em;
  }

  .slide-texts p {
    font-size: 1.6em;
  }

  .slider .buttons button {
    width: 30px;
    height: 30px;
  }

  .slider .dots li {
    width: 5px;
    height: 5px;
  }
}








/* about-us section */

.about-section {
  width: 100%;
  max-width: 1300px;
  margin: 4rem auto;
  background: url("../media/images/BGs/bg_C799FF.webp");
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  padding: 1rem 0;
}

.about-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(244, 234, 255, 0.158);
  height: 100%;
  width: 100%;
  z-index: -1;
}

.about-content {
  display: flex;
  gap: 1rem;
  padding: 1rem;
}

.about-content .about-head {
  width: max(300px, 50%);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-content .about-head img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.about-content .about-head::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(69, 0, 153, 0.2);
  backdrop-filter: blur(1px);
  width: 100%;
  height: 100%;
  z-index: 3;
}


.top-about-absolute {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 1rem;
  z-index: 5;
}

.top-about-absolute h2 {
  font-size: 5vw;
  text-shadow: 2px 2px 2px #440099;
  color: #F4EBFF;
  font-weight: 800;
  text-transform: uppercase;
  display: inline-block;
}

.top-about-absolute span {
  font-size: 2.5vw;
  text-shadow: 2px 2px 2px #440099;
  color: #F4EBFF;
  font-weight: 400;
  text-transform: uppercase;
}

.about-content .about-texts {
  width: max(300px, 50%);
  padding: 1rem 1.5rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-around;
  gap: 1rem;
}

.about-content .about-texts p {
  text-align: left;
  font-size: 1.6em;
  font-weight: 400;
  color: #440099;
}

.about-content .about-texts p strong {
  font-size: 1.6em;
}

.about-more-btn {
  outline: none;
  border: #440099 2px solid;
  background-color: transparent;
  padding: 0.5rem 1rem;
  font-size: 1.6em;
  cursor: pointer;
  transition: all 300ms ease-in-out;
}

.about-more-btn a {
  color: #440099;
  text-decoration: none;
}

.about-more-btn:hover {
  background-color: #440099;
}

.about-more-btn:hover a {
  color: #f4eaff;
}


@media (max-width:768px) {
  .about-section {
    padding: 1rem;
  }

  .about-content {
    gap: 0.5rem;
    flex-wrap: wrap;
  }

  .about-content .about-head {
    width: 100%;
  }

  .about-content .about-texts {
    width: 100%;
  }

  .top-about-absolute h2 {
    font-size: 3.981em;
  }

  .top-about-absolute span {
    font-size: 2.304em;
  }
}





/* The container for the row of stats */
.stats-section {
  width: min(100%, 1300px);
  margin: 0 auto;
  background: url("../media/images/HomepageInnovationCollage/VideoToPhoto\ 638796336822991494.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 3rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  position: relative;
  overflow: hidden;
}

.stats-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(69, 0, 153, 0.2);
  backdrop-filter: blur(4px);
  height: 100%;
  width: 100%;
  z-index: 2;
}

.stats-section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 3;
}

.stats-section-header h2 {
  font-size: 4.778em;
  color: #F4EBFF;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 2px #440099;
}

.stats-section-header span {
  font-size: 1.92em;
  color: #F4EBFF;
  font-weight: 400;
  text-align: center;
  max-width: 800px;
  line-height: 1.4;
  text-shadow: 1px 1px 2px #440099;
}

.stat-items-container {
  display: flex;
  gap: 2rem;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.stat-item {
  flex: 1 1 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(69, 0, 153, 0.2);
  border: rgba(244, 235, 255, 0.6) 1px solid;
  box-shadow: 2px 8px 5px rgba(0, 0, 0, 0.5);
  border-radius: 16px;
  backdrop-filter: blur(15px);
  padding: 2.5rem 2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.stat-item:hover {
  box-shadow: none;
  transform: translateY(2px);
}

.stat-icon {
  font-size: 3em;
  color: #F4EBFF;
  margin-bottom: 2rem;
  transition: transform 0.4s ease;
}

.stat-item:hover .stat-icon {
  transform: scale(1.1);
}

.stat-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-number {
  font-size: 3.318em;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #F4EBFF;
}

.stat-number span {
  font-size: 0.8em;
  color: rgba(244, 234, 255, 0.9);
  font-weight: 500;
}

.stat-label {
  color: rgba(244, 234, 255, 0.9);
  font-size: 1.92em;
  text-align: center;
  line-height: 1.4;
  font-weight: 500;
}

@media (max-width: 768px) {
  .stats-section::after {
    background-color: rgba(69, 0, 153, 0.2);
    backdrop-filter: blur(2px);
  }
}







/* General flowchart Styles */
.flowchart-zigzag-section {
  max-width: 1300px;
  width: 100dvw;
  margin: 1rem auto;
  text-align: center;
  background: url("../media/images/BGs/bg_f4eaff.webp");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.flowchart-toggle-btn {
  display: block;
  margin: 0.4rem auto 0;
  padding: 8px 16px;
  background-color: #f4eaff;
  border: 1px solid #f4eaff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.flowchart-toggle-btn:hover {
  background-color: #E9D6FF;
}

.flowchart-toggle-btn i {
  transition: transform 0.3s ease;
}

.flowchart-toggle-btn.active i {
  transform: rotate(180deg);
}

.flowchart-toggle-btn .hide-text {
  display: none;
}

.flowchart-toggle-btn.active .show-text {
  display: none;
}

.flowchart-toggle-btn.active .hide-text {
  display: inline;
}

#flowchartContent {
  display: none;
  transition: all 0.5s ease;
  overflow: hidden;
}

#flowchartContent.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.flowchart-title {
  padding: 2rem;
  margin: 0 auto 2rem;
  background-color: #440099;
}

.flowchart-title h2 {
  font-size: 3.981em;
  font-weight: 600;
  color: #f4eaff;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.flowchart-subhead {
  font-size: 1.6em;
  color: #f4eaff;
}

.flowchart {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.flow-step {
  display: flex;
  align-items: center;
  width: 80%;
  position: relative;
  margin: 0 auto;
}

.flow-step.left {
  justify-content: flex-start;
  text-align: left;
}

.flow-step.right {
  justify-content: flex-end;
  text-align: right;
}

.step-circle {
  width: 60px;
  height: 60px;
  background: #F4EBFF;
  color: #C799FF;
  font-size: 1.333em;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(101, 0, 224, 0.2);
  flex-shrink: 0;
  margin: 0 1rem;
}

.step-content {
  width: 60%;
  background: #fff;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: #2f2f2f1e 1px solid;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-content:hover {
  box-shadow: none;
}

.step-content h3 {
  font-size: 1.6em;
  color: #333;
}

.sub-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.right .step-content .sub-steps {
  justify-content: flex-end;
}

.sub-steps span {
  font-size: 1.333em;
  background: #f4eaff;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.sub-steps span:hover {
  background: #E9D6FF;
  transform: translateY(-2px);
}

.arrow {
  font-size: 2.765em;
  color: #440099;
}

.arrow span {
  display: inline-block;
  transform: rotate(90deg);
}

@media (max-width: 768px) {
  .flow-step {
    width: 80%;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .step-content {
    width: 100%;
    align-items: center;
  }

  .step-circle {
    display: none;
  }

  .arrow span {
    transform: rotate(90deg);
  }
}







/* product categories design */

.product-categories-section {
  width: 100%;
  max-width: 1300px;
  margin: 2rem auto;
  padding: 2rem;
}

.product-categories-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.section-header h2 {
  font-size: 3.981em;
  font-weight: 600;
  color: #440099;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-header .view-more-btn {
  background: #841FFF;
  border: none;
  padding: 0.6rem 1.2rem;
  font-size: 1.6em;
  cursor: pointer;
  transition: background 0.3s;
}

.view-more-btn a {
  font-size: 1em;
  color: #fff;
  text-decoration: none;
}

.section-header .view-more-btn:hover {
  background: #440099;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

.product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.product-image {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  flex: 1;
  justify-content: space-between;
}

.product-category {
  font-size: 1.6em;
  color: #333;
}

.see-all-btn {
  font-size: 1.333em;
  background: #841FFF;
  border: none;
  padding: 0.5rem;
  margin-top: 0.5rem;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.3s;
}

.see-all-btn a {
  font-size: 1em;
  color: #fff;
  text-decoration: none;
}

.see-all-btn:hover {
  background: #440099;
}

@media (max-width: 768px) {
  .section-header .view-more-btn {
    padding: 0.4rem 0.6rem;
  }

  .product-image {
    height: 200px;
  }
}






/* map section */
.map {
  padding: 2rem;
  width: min(100%, 1300px);
  margin: 2rem auto;
  overflow: hidden;
}

.map-text h2 {
  font-size: 3.981em;
  font-weight: 600;
  color: #440099;
  text-transform: uppercase;
}

.map .img-container {
  width: 100%;
  object-position: center;
  object-fit: contain;
}

.map .img-container img {
  width: 100%;
  object-position: center;
  object-fit: contain;
}






/* Innovations Section */

.innovations-section {
  padding: 2rem;
  width: min(100%, 1300px);
  margin: 2rem auto;
  background: url("../media/images/BGs/bg_E9D6FF.webp");
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}

.innovations-section::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: rgba(244, 234, 255, 0.158);
  backdrop-filter: blur(4px);
  height: 100%;
  width: 100%;
  z-index: -1;
  pointer-events: none;
}

.innovations-title {
  font-size: 3.981em;
  font-weight: 600;
  color: #440099;
  text-transform: uppercase;
}

.innovation-subtitle {
  margin-bottom: 2rem;
  font-size: 1.6em;
  color: #440099;
  font-weight: 400;
}

/* .innovations-list-collage {
  overflow: hidden;
  display: flex;
  gap: 1rem;
  width: 100%;
} */

.innovations-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
}

/* 
.innovations-collage {
  overflow: hidden;
  width: 40%;
  display: grid;
  grid-template-columns: repeat(auto-fill, 230px);
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-template-rows: repeat(2, minmax(180px, 240px));
  align-items: center;
  justify-content: center;
  gap: 1rem;
} */

/* .innovations-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 2px 5px 2px rgba(69, 0, 153, 0.2);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
} */

.icon-container {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #F4EBFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 2rem;
  overflow: hidden;
}

.icon-container img {
  width: 28px;
  height: 28px;
}


/* .innovations-collage img:hover {
  transform: translateY(2px);
  box-shadow: none;
  z-index: 5;
} */

/* .innovations-collage:hover img:not(:hover) {
  filter: grayscale(0.9);
} */

.innovation-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #440099;
  padding: 1rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.innovation-2 {
  background: transparent;
}

.innovation-2 .icon-container {
  background: #440099;
}

.innovation-2 .icon-container img {
  filter: invert(1);
}

.innovation-2 .innovation-text h3,
.innovation-2 .innovation-text p {
  color: #440099;
}

.innovation-text-img-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  width: 100%;
}

.innovation-text h3 {
  font-size: 1.92em;
  margin-bottom: 0.8rem;
  color: #F4EBFF;
}

.innovation-text p {
  font-size: 1.6em;
  color: #F4EBFF;
}

.innovation-image {
  border: 1px solid #f4eaff;
  width: 200px;
  height: 120px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.innovation-2 .innovation-image {
  border: 1px solid #440099;
}

.innovation-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.innovation-read-more {
  text-align: center;
  padding: 0.5rem 1rem;
  width: max-content;
  margin: 1rem auto;
  border: #440099 2px solid;
  transition: all 300ms ease-in-out;
}

.innovation-read-more a {
  color: #440099;
  font-size: 1.6em;
  text-decoration: none;
  transition: all 300ms ease-in-out;
}

.innovation-read-more:hover {
  background-color: #440099;
}

.innovation-read-more:hover a {
  color: #F4EBFF;
}

/* Responsive design: stack items on smaller screens */
@media (max-width: 600px) {
  .innovation-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .icon-container {
    margin-bottom: 0.5rem;
    margin-right: 0;
  }

  .innovation-image {
    width: 120px;
    height: 80px;
  }

}


/* .partner-slider[reverse="true"] .partner-item{
  animation: reversePlay 10s linear infinite;
}
@keyframes reversePlay{
  from{
      left: calc(var(--width) * -1);
  }to{
      left: 100%;
  }
} */




/* homepage designing ends here/////////////__________________________ */